	   <table  width="948" border="0" cellpadding="0" cellspacing="0">
	  <tr  class="table1" align="center" valign="middle">
    <?php for($i=0;$i<7;$i++):
    	if(isset($models[$i])):
    ?>
      <td width="189" height="91"><a target="_blank" href="?r=business/get_business&id=<?php echo $models[$i]->id;?>"><img src="<?php echo $models[$i]->logo;?>" width="110" height="60" /></a></td>
   <?php else:?>
      <td width="189" height="91"></td>
    <?php 
       	endif;
       endfor;
    ?>
    </tr>
    <tr class="table2">
    <?php for($i=0;$i<7;$i++):
    	if(isset($models[$i])):
    ?>
      <td height="25" align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $models[$i]->id;?>"><?php echo $models[$i]->brand;?></a></td>
   <?php else:?>
   	  <td height="25" align="center"></td>	
    <?php 
       	endif;
       endfor;
    ?>
    </tr>
    <tr class="table1"align="center" valign="middle">
    <?php for($i=7;$i<14;$i++):
    	if(isset($models[$i])):
    ?>
      <td height="72"><a target="_blank" href="?r=business/get_business&id=<?php echo $models[$i]->id;?>"><img src="<?php echo $models[$i]->logo;?>" width="110" height="60" /></a></td>
   <?php else:?>
   	  <td height="72"></td>	
    <?php 
       	endif;
       endfor;
    ?>
    </tr>
    <tr class="table2">
    <?php for($i=7;$i<14;$i++):
    	if(isset($models[$i])):
    ?>
      <td height="25" align="center"><a target="_blank" href="?r=business/get_business&id=<?php echo $models[$i]->id;?>"><?php echo $models[$i]->brand;?></a></td>
   <?php else:?>
      <td height="25" align="center"></td>
    <?php 
       	endif;
       endfor;
    ?>
    </tr>
    </table>
